#include<stdio.h>
#include<string.h>
#include<unistd.h>
#include<stdlib.h>

void func()
{
  printf("this is a test for func!\n");
  //exit(111);
  _exit(111);
}
int main()
{
  //exit(222);
  //_exit(222);
  printf("the test for exit/_exit!"); //没有\n，写到缓冲区
  sleep(1);
  //exit(222);
  _exit(222);
  func();
  return 10;
}

